package com.wpen.unit.cvt.job;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.TaskExecRedologPo;
import com.wpen.unit.web.dto.job.TaskExecRedologListRequest;
import com.wpen.unit.web.dto.job.TaskExecRedologListResponse;
import com.wpen.unit.web.dto.job.TaskExecRedologListRowsResponse;
import com.wpen.unit.web.dto.job.TaskExecRedoRequest;
import com.wpen.unit.web.dto.job.TaskExecRedoResponse;

/**
 * 任务执行重跑历史日志转换类
 * 
 * @author Wang Peng
 * @date 2023-01-18
 *
 */
@Mapper
public interface TaskExecRedologCvt {
    TaskExecRedologCvt INSTANCE = Mappers.getMapper(TaskExecRedologCvt.class);

    TaskExecRedologPo queryListDto2Do(TaskExecRedologListRequest taskExecRedologListRequest);

    TaskExecRedologListResponse queryListDo2Dto(TaskExecRedologPo taskExecRedologPo);

    TaskExecRedologListRowsResponse queryListRowDo2Dto(TaskExecRedologPo taskExecRedologPo);


    TaskExecRedologPo modDto2Do(TaskExecRedoRequest taskExecRedologModRequest);

    TaskExecRedoResponse modDo2Dto(TaskExecRedologPo taskExecRedologPo);

}
